<style>
	.text{
		text-align: right;
	}
</style>

<div class="zs-side">
	<div class="zs-menu ckxl">
		<div class="item selected">
			<div class="header">请假管理</div>
			<ul class="list">
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzqjgl'].tabClass['tab1']}" ng-click="setBpmTab('gzqjgl','tab1')">申请</a>
				</li>
				<li ng-show="gzqjgl.editRow.qjts !=null && gzqjgl.editRow.qjts<3  && gzqjgl.editRow.bpmkey=='qjgl'">
					<a href="javascript:;" ng-class="{'selected':tabs['gzqjgl'].tabClass['tab2']}" ng-click="setBpmTab('gzqjgl','tab2')">部门领导签批</a>
				</li>

				<li ng-show="gzqjgl.editRow.qjts !=null && gzqjgl.editRow.qjts>=3 && gzqjgl.editRow.bpmkey=='qjgl'">
					<a href="javascript:;" ng-class="{'selected':tabs['gzqjgl'].tabClass['tab3']}" ng-click="setBpmTab('gzqjgl','tab3')">科室签批</a>
				</li>

				<li ng-show="(gzqjgl.editRow.qjts !=null && gzqjgl.editRow.qjts>=3 && gzqjgl.editRow.bpmkey=='qjgl') || gzqjgl.editRow.bpmkey=='qjgl_kjgb'">
					<a href="javascript:;" ng-class="{'selected':tabs['gzqjgl'].tabClass['tab4']}" ng-click="setBpmTab('gzqjgl','tab4')">分管领导签批</a>
				</li>

				<li ng-show="gzqjgl.editRow.bpmkey=='qjgl_jjgb' || (gzqjgl.editRow.qjts !=null && gzqjgl.editRow.qjts>7)">
					<a href="javascript:;" ng-class="{'selected':tabs['gzqjgl'].tabClass['tab5']}" ng-click="setBpmTab('gzqjgl','tab5')">局领导签批</a>
				</li>
			</ul>
		</div>
	</div>
</div>
<div class="zs-main">
	<!--   报件录入-s -->
	<div class="zs-content" ng-show="tabs['gzqjgl'].tabClass['tab1']">
		<h4 class="content-tilte">请假申请</h4>
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="text" width="20%">部门</td>
								<td class="left" width="30%">
									<!--<input type="text" ng-model="gzqjgl.editRow.dwid" class="zs-input" />-->

									<ag-Dep ng-model="gzqjgl.editRow.dwid" text-Value="gzqjgl.editRow.szdw" id="bmmc" canuse="{{gzqjgl.editRow.FIELD_ISNEW}}"></ag-Dep>

								</td>
								<td class="text" width="20%">请假人姓名</td>
								<td class="left" width="30%">
									<!--<input type="text" ng-model="gzqjgl.editRow.qjrxm" class="zs-input" />-->

									<ag-User ng-model="gzqjgl.editRow.qjrid" text-Value="gzqjgl.editRow.qjrxm" id="qjrid" canuse="{{gzqjgl.editRow.FIELD_ISNEW}}"></ag-User>
								</td>
							</tr>

							<tr>
								<td class="text" width="20%">请假类型</td>
								<td class="left" width="30%" colspan="3">
									<span ng-show="gzqjgl.proauth.qjsq">
										<ag-Combobox style="width:175px;height:28px;" para="{	uDictionary:true,
                                        		dictionary:'GZ_QJLX'}"
										 ng-model="gzqjgl.editRow.qjlx" text-Value="gzqjgl.editRow.qjlxname" />
									</span>
									<span ng-show="!gzqjgl.proauth.qjsq"><label ng-bind="gzqjgl.editRow.qjlxname"></label></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">申请事由</td>
								<td class="left" width="30%" colspan="3">
									<span ng-show="gzqjgl.proauth.qjsq">
										<textarea type="text" ng-model="gzqjgl.editRow.sqsy" class="zs-input" style="width:98%;height: 180px;">

                                	</textarea></span>

									<span ng-show="!gzqjgl.proauth.qjsq">
										<textarea type="text" ng-model="gzqjgl.editRow.sqsy" class="zs-input" style="width:98%;height: 180px;"
										 readonly="true">

                                	</textarea></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">开始时间</td>
								<td class="left" width="30%">
									<span ng-show="gzqjgl.proauth.qjsq">
										<ag-Datebox id='fi_kssj' showcurday='true' class="zs-input" style="width:180px;height: 28px" ng-model="gzqjgl.editRow.kssj"
										 ng-change="setTs();">
										</ag-Datebox>
									</span>

									<span ng-show="!gzqjgl.proauth.qjsq">
										<label ng-bind="gzqjgl.editRow.kssj | asDate | date:'yyyy-MM-dd'"></label>
									</span>
								</td>
								
								<td class="text" width="20%">开始时段</td>
								<td class="left" width="30%">
									<span ng-show="gzqjgl.proauth.qjsq">
										<ag-Combobox style="width:175px;height:28px;" para="{	uDictionary:true,
                                        		dictionary:'gz_qjkssd'}"
                                        		 ng-change="setTs();"
										 ng-model="gzqjgl.editRow.sjsjjd" text-Value="gzqjgl.editRow.sjsjjdname" />
									</span>
									<span ng-show="!gzqjgl.proauth.qjsq"><label ng-bind="gzqjgl.editRow.sjsjjdname"></label></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">结束时间</td>
								<td class="left" width="30%">
									<span ng-show="gzqjgl.proauth.qjsq">
										<ag-Datebox id='fi_jssj' showcurday='true' class="zs-input" style="width:180px;height: 28px" ng-model="gzqjgl.editRow.jssj"
										 ng-change="setTs();">
										</ag-Datebox>
									</span>
									<span ng-show="!gzqjgl.proauth.qjsq">
										<label ng-bind="gzqjgl.editRow.jssj | asDate | date:'yyyy-MM-dd'"></label>
									</span>
								</td>
								
								<td class="text" width="20%">结束时段</td>
								<td class="left" width="30%">
									<span ng-show="gzqjgl.proauth.qjsq">
										<ag-Combobox style="width:175px;height:28px;" para="{	uDictionary:true,
                                        		dictionary:'gz_qjjssd'}"
                                        		 ng-change="setTs();"
										 ng-model="gzqjgl.editRow.jssjjd" text-Value="gzqjgl.editRow.jssjjdname" />
									</span>
									<span ng-show="!gzqjgl.proauth.qjsq"><label ng-bind="gzqjgl.editRow.jssjjdname"></label></span>
								</td>
							</tr>

							<tr>
								<td class="text" width="20%">请假天数</td>
								<td class="left" width="30%">
									<input type="text" ng-model="gzqjgl.editRow.qjts" class="zs-input" ng-show="gzqjgl.proauth.qjsq" />
									<label ng-bind="gzqjgl.editRow.qjts" ng-show="!gzqjgl.proauth.qjsq"></label>
								</td>

								<td class="text" width="20%">申请日期</td>
								<td class="left" width="30%">
									<ag-Time ng-model="gzqjgl.editRow.sqrq" id="sqrq" canuse="{{gzqjgl.editRow.FIELD_ISNEW}}"></ag-Time>
								</td>
							</tr>

						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--   报件录入-e -->
	<!--   部门领导签批-s -->
	<div class="zs-content" ng-show="tabs['gzqjgl'].tabClass['tab2']">
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="key" width="25%" colspan="2">
									<span class="mark">部门领导签批</span>
								</td>
								<td width="75%" colspan="3">
									<!-- 历史-s -->
									<span ng-repeat="h in gzqjgl.process.usertask2.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>
									<!-- 历史-e -->
									<br ng-if="gzqjgl.process.usertask2.userEdit" ng-show="gzqjgl.proauth.bmldsp" />
									<textarea rows="2" cols="8" type="text" style="width:100%;height: 200px;" ng-if="gzqjgl.process.usertask2.userEdit"
									 ng-show="gzqjgl.proauth.bmldsp" ng-model="gzqjgl.process.usertask2.editRow.optcontent"></textarea>

								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--   部门领导签批-e -->

	<!--   科室签批-s -->
	<div class="zs-content" ng-show="tabs['gzqjgl'].tabClass['tab3']">
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="key" width="25%" colspan="2">
									<span class="mark">科室签批</span>
								</td>
								<td width="75%" colspan="3">
									<!-- 历史-s -->
									<span ng-repeat="h in gzqjgl.process.usertask3.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>
									<!-- 历史-e -->
									<br ng-if="gzqjgl.process.usertask3.userEdit" ng-show="gzqjgl.proauth.kssh" />
									<textarea rows="2" cols="8" type="text" style="width:100%;height: 200px;" ng-if="gzqjgl.process.usertask3.userEdit"
									 ng-show="gzqjgl.proauth.kssh" ng-model="gzqjgl.process.usertask3.editRow.optcontent"></textarea>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--   科室签批-e -->

	<!--   分管领导签批-s -->
	<div class="zs-content" ng-show="tabs['gzqjgl'].tabClass['tab4']">
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<!--科员请假3到7天，科长请假-s-->
							<tr>
								<td class="key" width="25%" colspan="2">
									<span class="mark">分管领导签批</span>
								</td>
								<td width="75%" colspan="3">

									<span ng-repeat="h in gzqjgl.process.usertask4.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>
									<!-- 历史-e -->
									<br ng-if="gzqjgl.process.usertask4.userEdit" ng-show="gzqjgl.proauth.fgldsp" />
									<textarea rows="2" cols="8" type="text" style="width:100%;height: 200px;" ng-if="gzqjgl.process.usertask4.userEdit"
									 ng-show="gzqjgl.proauth.fgldsp" ng-model="gzqjgl.process.usertask4.editRow.optcontent"></textarea>
								</td>
							</tr>
							<!--科员请假3到7天，科长请假-e-->
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--   分管领导签批-e -->

	<!--   局领导签批-s -->
	<div class="zs-content" ng-show="tabs['gzqjgl'].tabClass['tab5']">
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<!--局领导请假流程 或者请假天数超过七天-s-->
							<tr>
								<td class="key" width="25%" colspan="2">
									<span class="mark">局领导审核</span>
								</td>
								<td width="75%" colspan="3">
									<span ng-repeat="h in gzqjgl.process.usertask5.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>
									<!-- 历史-e -->
									<br ng-if="gzqjgl.process.usertask5.userEdit" ng-show="gzqjgl.proauth.jldsp" />
									<textarea rows="2" cols="8" type="text" style="width:100%;height: 200px;" ng-if="gzqjgl.process.usertask5.userEdit"
									 ng-show="gzqjgl.proauth.jldsp" ng-model="gzqjgl.process.usertask5.editRow.optcontent"></textarea>
								</td>
							</tr>
							<!--局领导请假流程 或者请假天数超过七天-e-->
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--   局领导签批-e -->
</div>